﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using XStudio.XCRF.SMSMesssage.Implements;
using Fetion = XStudio.XCRF.SMSMesssage.Implements.FetionSMSSender;

namespace XStudio.XCRF.FetionSMSSender.Test
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        private void btnSend_Click(object sender, EventArgs e)
        {
            Fetion fetion = new Fetion();
            fetion.InitAccount(txtPhone.Text, txtPassword.Text);
            fetion.Send(txtTo.Text, txtContent.Text);
        }
    }
}
